package com.kohburg.baseplate.xdelay.entity;

import java.io.Serializable;

/**
 * 基本消息
 *
 * @author zenos hua
 * 2020-06-01
 */
public class BaseMessage implements Serializable {


    private static final long serialVersionUID = 8897917127201859532L;

    private Integer retryTimes;

    private Integer delayTime;

    private Object message;

    public Integer getRetryTimes() {
        return retryTimes;
    }

    public void setRetryTimes(Integer retryTimes) {
        this.retryTimes = retryTimes;
    }

    public Integer getDelayTime() {
        return delayTime;
    }

    public void setDelayTime(Integer delayTime) {
        this.delayTime = delayTime;
    }

    public Object getMessage() {
        return message;
    }

    public void setMessage(Object message) {
        this.message = message;
    }

    @Override
    public String toString() {
        return "BaseMessage{" +
                "retryTimes=" + retryTimes +
                ", delayTime=" + delayTime +
                ", message=" + message +
                '}';
    }
}
